package cn.steel.service;

import cn.steel.domain.entity.SupplierInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SupplierInfoService {
    SupplierInfo getSupplierInfoByUserId(Long userId);
    void updateSupplierInfo(SupplierInfo supplierInfo, MultipartFile logoFile, MultipartFile licenseFile);
    List<SupplierInfo> findAllPaginated(String search);

    // 新增方法：获取前十供应商
    List<SupplierInfo> getTop10Suppliers();

    SupplierInfo getSupplierInfoById(Long supplierId);


}